home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2004 #2 / Amiga Plus CD - 2004 - No. 02.iso / AmiSoft / Util / virus / xvslibrary.lha / xvs / Developer / C / inline / xvs_protos.h next >
C/C++ Source or Header  |  2004-01-15  |  3KB  |  51 lines

  1. #ifndef _VBCCINLINE_XVS_H
  2. #define _VBCCINLINE_XVS_H
  3.  
  4. #ifndef EXEC_TYPES_H
  5. #include <exec/types.h>
  6. #endif
  7.  
  8. BOOL __xvsSelfTest(__reg("a6") struct Library *)="\tjsr\t-30(a6)";
  9. #define xvsSelfTest() __xvsSelfTest(xvsBase)
  10.  
  11. struct xvsVirusList * __xvsCreateVirusList(__reg("a6") struct Library *, __reg("d0") ULONG listtype)="\tjsr\t-36(a6)";
  12. #define xvsCreateVirusList(listtype) __xvsCreateVirusList(xvsBase, (listtype))
  13.  
  14. void __xvsFreeVirusList(__reg("a6") struct Library *, __reg("a1") struct xvsVirusList * list)="\tjsr\t-42(a6)";
  15. #define xvsFreeVirusList(list) __xvsFreeVirusList(xvsBase, (list))
  16.  
  17. APTR __xvsAllocObject(__reg("a6") struct Library *, __reg("d0") ULONG objecttype)="\tjsr\t-48(a6)";
  18. #define xvsAllocObject(objecttype) __xvsAllocObject(xvsBase, (objecttype))
  19.  
  20. void __xvsFreeObject(__reg("a6") struct Library *, __reg("a1") APTR object)="\tjsr\t-54(a6)";
  21. #define xvsFreeObject(object) __xvsFreeObject(xvsBase, (object))
  22.  
  23. ULONG __xvsObjectType(__reg("a6") struct Library *, __reg("a1") APTR object)="\tjsr\t-60(a6)";
  24. #define xvsObjectType(object) __xvsObjectType(xvsBase, (object))
  25.  
  26. ULONG __xvsCheckBootblock(__reg("a6") struct Library *, __reg("a0") struct xvsBootInfo * bootinfo)="\tjsr\t-66(a6)";
  27. #define xvsCheckBootblock(bootinfo) __xvsCheckBootblock(xvsBase, (bootinfo))
  28.  
  29. void __xvsInstallBootblock(__reg("a6") struct Library *, __reg("a0") APTR bootblock, __reg("d0") ULONG boottype, __reg("d1") ULONG dostype)="\tjsr\t-72(a6)";
  30. #define xvsInstallBootblock(bootblock, boottype, dostype) __xvsInstallBootblock(xvsBase, (bootblock), (boottype), (dostype))
  31.  
  32. void __xvsSumBootblock(__reg("a6") struct Library *, __reg("a0") APTR bootblock, __reg("d0") ULONG offset)="\tjsr\t-78(a6)";
  33. #define xvsSumBootblock(bootblock, offset) __xvsSumBootblock(xvsBase, (bootblock), (offset))
  34.  
  35. ULONG __xvsCheckSector(__reg("a6") struct Library *, __reg("a0") struct xvsSectorInfo * sectorinfo)="\tjsr\t-84(a6)";
  36. #define xvsCheckSector(sectorinfo) __xvsCheckSector(xvsBase, (sectorinfo))
  37.  
  38. BOOL __xvsRepairSector(__reg("a6") struct Library *, __reg("a0") struct xvsSectorInfo * sectorinfo)="\tjsr\t-90(a6)";
  39. #define xvsRepairSector(sectorinfo) __xvsRepairSector(xvsBase, (sectorinfo))
  40.  
  41. ULONG __xvsCheckFile(__reg("a6") struct Library *, __reg("a0") struct xvsFileInfo * fileinfo)="\tjsr\t-96(a6)";
  42. #define xvsCheckFile(fileinfo) __xvsCheckFile(xvsBase, (fileinfo))
  43.  
  44. BOOL __xvsRepairFile(__reg("a6") struct Library *, __reg("a0") struct xvsFileInfo * fileinfo)="\tjsr\t-102(a6)";
  45. #define xvsRepairFile(fileinfo) __xvsRepairFile(xvsBase, (fileinfo))
  46.  
  47. ULONG __xvsSurveyMemory(__reg("a6") struct Library *, __reg("a0") struct xvsMemoryInfo * memoryinfo)="\tjsr\t-108(a6)";
  48. #define xvsSurveyMemory(memoryinfo) __xvsSurveyMemory(xvsBase, (memoryinfo))
  49.  
  50. #endif /*  _VBCCINLINE_XVS_H  */
  51.